<?php
/**
 * Created by PhpStorm.
 * User: asdf
 * Date: 2021/9/21
 * Time: 2:57
 */
if (DEBUG){
    ini_set("display_errors",'On');

}else if(Production){
    ini_set("display_errors",'Off');
}else if(STOP){
    http_response_code(500);
    die("<style>body{background-color: aliceblue}</style>
        <div style='text-align: center;width: 100%;height: 60%;'>
        <h1 style='color: crimson;margin-top: 20%'>500</h1>
        <h2 style='color: brown'>framework stop</h2>
        <h3 style='color: cadetblue'>Internal Server Error</h3>
        <h4 style='color: cornflowerblue'>".date("Y-m-d h-m-s",time()) ."</h4></div>");
}else{
    exit();
}

if (SESSION){
    session_start();
}